/*
 * Created on Jan 6, 2006
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package oj.swing.component;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.AbstractAction;

public class JButtonAction extends AbstractAction {
  private ActionListener al;

  public JButtonAction(ActionListener al) {
    super("buttonAction");
    this.al = al;
  }

  public void actionPerformed(ActionEvent e) {
    al.actionPerformed(e);
  }
}
